package com.softeem.idriveserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 控制记录表
 * @TableName control_record
 */
@TableName(value ="control_record")
@Data
public class ControlRecord implements Serializable {
    /**
     * 控制记录ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 操作时间
     */
    private Date recordTime;

    /**
     * 操作名
     */
    private String operationName;

    /**
     * 状态 0-失败 1-成功
     */
    private Integer status;

    /**
     * 车辆ID
     */
    private Integer vehicleId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}